package com.opentae.data.mall.examples;

import com.opentae.core.mybatis.SgExample;
import com.opentae.core.mybatis.example.EntityColumn;
import com.opentae.core.mybatis.example.EntityTable;
import com.opentae.core.mybatis.mapperhelper.EntityHelper;
import com.opentae.data.mall.beans.MallWalletRecord;

import java.util.*;
public class MallWalletRecordExample extends SgExample<MallWalletRecordExample.Criteria> {
    public static final Class<MallWalletRecord> beanClass = MallWalletRecord.class;
    public static final EntityTable entityTable = EntityHelper.getEntityTable(beanClass);
    public static EntityColumn fromValue;
    public static EntityColumn changeTime;
    public static EntityColumn remark;
    public static EntityColumn changeValue;
    public static EntityColumn walletRecordId;
    public static EntityColumn type;
    public static EntityColumn userId;
    static {
        Set<EntityColumn> columns = entityTable.getEntityClassColumns();
        Map<String, EntityColumn> listMap = new HashMap<>();
        for (EntityColumn column : columns) {
            listMap.put(column.getProperty(), column);
        }
        fromValue = listMap.get("fromValue");
        changeTime = listMap.get("changeTime");
        remark = listMap.get("remark");
        changeValue = listMap.get("changeValue");
        walletRecordId = listMap.get("walletRecordId");
        type = listMap.get("type");
        userId = listMap.get("userId");
        }

    public MallWalletRecordExample() {
        this.setTableAlias(entityTable.getName());
    }

    @Override
    public EntityTable getEntityTable() {
        return entityTable;
    }

    @Override
    protected MallWalletRecordExample.Criteria createCriteriaInternal() {
        return new MallWalletRecordExample.Criteria(this);
    }

    public static class Criteria extends SgExample.GeneratedCriteria<Criteria> {
        protected Criteria(SgExample example) {
            super(example);
        }

        public MallWalletRecordExample.Criteria andFromValueIsNull() {
            return isNull(fromValue);
        }

        public MallWalletRecordExample.Criteria andFromValueIsNotNull() {
            return isNotNull(fromValue);
        }

        public MallWalletRecordExample.Criteria andFromValueEqualTo(String value) {
            return equalTo(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueNotEqualTo(String value) {
            return notEqualTo(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueGreaterThan(String value) {
            return greaterThan(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueLessThan(String value) {
            return lessThan(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueLike(String value) {
            return like(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueNotLike(String value) {
            return notLike(fromValue, value);
        }

        public MallWalletRecordExample.Criteria andFromValueIn(List<String> values) {
            return in(fromValue, values);
        }

        public MallWalletRecordExample.Criteria andFromValueNotIn(List<String> values) {
            return notIn(fromValue, values);
        }

        public MallWalletRecordExample.Criteria andFromValueBetween(String value1, String value2) {
            return between(fromValue, value1, value2);
        }

        public MallWalletRecordExample.Criteria andFromValueNotBetween(String value1, String value2) {
            return notBetween(fromValue, value1, value2);
        }
        public MallWalletRecordExample.Criteria andChangeTimeIsNull() {
            return isNull(changeTime);
        }

        public MallWalletRecordExample.Criteria andChangeTimeIsNotNull() {
            return isNotNull(changeTime);
        }

        public MallWalletRecordExample.Criteria andChangeTimeEqualTo(String value) {
            return equalTo(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeNotEqualTo(String value) {
            return notEqualTo(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeGreaterThan(String value) {
            return greaterThan(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeLessThan(String value) {
            return lessThan(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeLike(String value) {
            return like(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeNotLike(String value) {
            return notLike(changeTime, value);
        }

        public MallWalletRecordExample.Criteria andChangeTimeIn(List<String> values) {
            return in(changeTime, values);
        }

        public MallWalletRecordExample.Criteria andChangeTimeNotIn(List<String> values) {
            return notIn(changeTime, values);
        }

        public MallWalletRecordExample.Criteria andChangeTimeBetween(String value1, String value2) {
            return between(changeTime, value1, value2);
        }

        public MallWalletRecordExample.Criteria andChangeTimeNotBetween(String value1, String value2) {
            return notBetween(changeTime, value1, value2);
        }
        public MallWalletRecordExample.Criteria andRemarkIsNull() {
            return isNull(remark);
        }

        public MallWalletRecordExample.Criteria andRemarkIsNotNull() {
            return isNotNull(remark);
        }

        public MallWalletRecordExample.Criteria andRemarkEqualTo(String value) {
            return equalTo(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkNotEqualTo(String value) {
            return notEqualTo(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkGreaterThan(String value) {
            return greaterThan(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkLessThan(String value) {
            return lessThan(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkLike(String value) {
            return like(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkNotLike(String value) {
            return notLike(remark, value);
        }

        public MallWalletRecordExample.Criteria andRemarkIn(List<String> values) {
            return in(remark, values);
        }

        public MallWalletRecordExample.Criteria andRemarkNotIn(List<String> values) {
            return notIn(remark, values);
        }

        public MallWalletRecordExample.Criteria andRemarkBetween(String value1, String value2) {
            return between(remark, value1, value2);
        }

        public MallWalletRecordExample.Criteria andRemarkNotBetween(String value1, String value2) {
            return notBetween(remark, value1, value2);
        }
        public MallWalletRecordExample.Criteria andChangeValueIsNull() {
            return isNull(changeValue);
        }

        public MallWalletRecordExample.Criteria andChangeValueIsNotNull() {
            return isNotNull(changeValue);
        }

        public MallWalletRecordExample.Criteria andChangeValueEqualTo(String value) {
            return equalTo(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueNotEqualTo(String value) {
            return notEqualTo(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueGreaterThan(String value) {
            return greaterThan(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueGreaterThanOrEqualTo(String value) {
            return greaterThanOrEqualTo(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueLessThan(String value) {
            return lessThan(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueLessThanOrEqualTo(String value) {
            return lessThanOrEqualTo(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueLike(String value) {
            return like(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueNotLike(String value) {
            return notLike(changeValue, value);
        }

        public MallWalletRecordExample.Criteria andChangeValueIn(List<String> values) {
            return in(changeValue, values);
        }

        public MallWalletRecordExample.Criteria andChangeValueNotIn(List<String> values) {
            return notIn(changeValue, values);
        }

        public MallWalletRecordExample.Criteria andChangeValueBetween(String value1, String value2) {
            return between(changeValue, value1, value2);
        }

        public MallWalletRecordExample.Criteria andChangeValueNotBetween(String value1, String value2) {
            return notBetween(changeValue, value1, value2);
        }
        public MallWalletRecordExample.Criteria andWalletRecordIdIsNull() {
            return isNull(walletRecordId);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdIsNotNull() {
            return isNotNull(walletRecordId);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdEqualTo(Long value) {
            return equalTo(walletRecordId, value);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdNotEqualTo(Long value) {
            return notEqualTo(walletRecordId, value);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdGreaterThan(Long value) {
            return greaterThan(walletRecordId, value);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(walletRecordId, value);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdLessThan(Long value) {
            return lessThan(walletRecordId, value);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(walletRecordId, value);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdIn(List<Long> values) {
            return in(walletRecordId, values);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdNotIn(List<Long> values) {
            return notIn(walletRecordId, values);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdBetween(Long value1, Long value2) {
            return between(walletRecordId, value1, value2);
        }

        public MallWalletRecordExample.Criteria andWalletRecordIdNotBetween(Long value1, Long value2) {
            return notBetween(walletRecordId, value1, value2);
        }
        public MallWalletRecordExample.Criteria andTypeIsNull() {
            return isNull(type);
        }

        public MallWalletRecordExample.Criteria andTypeIsNotNull() {
            return isNotNull(type);
        }

        public MallWalletRecordExample.Criteria andTypeEqualTo(Integer value) {
            return equalTo(type, value);
        }

        public MallWalletRecordExample.Criteria andTypeNotEqualTo(Integer value) {
            return notEqualTo(type, value);
        }

        public MallWalletRecordExample.Criteria andTypeGreaterThan(Integer value) {
            return greaterThan(type, value);
        }

        public MallWalletRecordExample.Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            return greaterThanOrEqualTo(type, value);
        }

        public MallWalletRecordExample.Criteria andTypeLessThan(Integer value) {
            return lessThan(type, value);
        }

        public MallWalletRecordExample.Criteria andTypeLessThanOrEqualTo(Integer value) {
            return lessThanOrEqualTo(type, value);
        }

        public MallWalletRecordExample.Criteria andTypeIn(List<Integer> values) {
            return in(type, values);
        }

        public MallWalletRecordExample.Criteria andTypeNotIn(List<Integer> values) {
            return notIn(type, values);
        }

        public MallWalletRecordExample.Criteria andTypeBetween(Integer value1, Integer value2) {
            return between(type, value1, value2);
        }

        public MallWalletRecordExample.Criteria andTypeNotBetween(Integer value1, Integer value2) {
            return notBetween(type, value1, value2);
        }
        public MallWalletRecordExample.Criteria andUserIdIsNull() {
            return isNull(userId);
        }

        public MallWalletRecordExample.Criteria andUserIdIsNotNull() {
            return isNotNull(userId);
        }

        public MallWalletRecordExample.Criteria andUserIdEqualTo(Long value) {
            return equalTo(userId, value);
        }

        public MallWalletRecordExample.Criteria andUserIdNotEqualTo(Long value) {
            return notEqualTo(userId, value);
        }

        public MallWalletRecordExample.Criteria andUserIdGreaterThan(Long value) {
            return greaterThan(userId, value);
        }

        public MallWalletRecordExample.Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            return greaterThanOrEqualTo(userId, value);
        }

        public MallWalletRecordExample.Criteria andUserIdLessThan(Long value) {
            return lessThan(userId, value);
        }

        public MallWalletRecordExample.Criteria andUserIdLessThanOrEqualTo(Long value) {
            return lessThanOrEqualTo(userId, value);
        }

        public MallWalletRecordExample.Criteria andUserIdIn(List<Long> values) {
            return in(userId, values);
        }

        public MallWalletRecordExample.Criteria andUserIdNotIn(List<Long> values) {
            return notIn(userId, values);
        }

        public MallWalletRecordExample.Criteria andUserIdBetween(Long value1, Long value2) {
            return between(userId, value1, value2);
        }

        public MallWalletRecordExample.Criteria andUserIdNotBetween(Long value1, Long value2) {
            return notBetween(userId, value1, value2);
        }
    }
}